package com.basic.boot.exception;

/**
 * @author cherrish
 * @time 2019-03-14 11:47
 * @name ReqLimitException
 * @desc:
 */
public class ReqLimitException extends RuntimeException{

    private static final long serialVersionUID = 6053204003364396109L;

    public ReqLimitException(Long time){
        super("Your request is too frequently, please try again in "+ time +"s");
    }
    public ReqLimitException(String message){
        super(message);
    }
}
